import request from "@/utils/request";


// 创建降价计划
export function addProject(data) {
  return request({
    url: '/auto/priceRiseProduct/priceRiseProductProject/addProject',
    method: 'post',
    data
  })
}

// 获取自运营降价配置详情
export function queryProjectById(data) {
  return request({
    url: '/auto/priceRiseProduct/priceRiseProductProject/queryProjectById',
    method: 'get',
    params: data
  })
}

// 修改自运营降价配置
export function editProject(data) {
  return request({
    url: '/auto/priceRiseProduct/priceRiseProductProject/editProject',
    method: 'post',
    data
  })
}

// 修改降价配置状态
export function editRisePriceStatus(data) {
  return request({
    url: '/auto/priceRiseProduct/priceRiseProductProject/editProjectStatus',
    method: 'get',
    params: data
  })
}




